package com.indexingsystem.system.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.indexingsystem.boss.admin.mapper.TablesColRelationsMapper;
import com.indexingsystem.boss.entity.TablesColRelations;
import com.indexingsystem.system.service.ITablesColRelationsService;

@Service
public class TablesColRelationsServiceImpl implements ITablesColRelationsService{

	@Resource
	private TablesColRelationsMapper tablesColRelationsMapper;
	
	@Override
	public int deleteByPrimaryKey(String columnId) {
		return tablesColRelationsMapper.deleteByPrimaryKey(columnId);
	}

	@Override
	public int insert(TablesColRelations record) {
		return tablesColRelationsMapper.insert(record);
	}

	@Override
	public int insertSelective(TablesColRelations record) {
		return tablesColRelationsMapper.insertSelective(record);
	}

	@Override
	public TablesColRelations selectByPrimaryKey(String columnId) {
		return tablesColRelationsMapper.selectByPrimaryKey(columnId);
	}

	@Override
	public int updateByPrimaryKeySelective(TablesColRelations record) {
		return tablesColRelationsMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(TablesColRelations record) {
		return tablesColRelationsMapper.updateByPrimaryKey(record);
	}

	@Override
	public List<TablesColRelations> getTablesColRelationsByTables(String tablesId) {
		return tablesColRelationsMapper.getTablesColRelationsByTables(tablesId);
	}

	@Override
	public TablesColRelations getTablesColName(String columnName) {
		return tablesColRelationsMapper.getTablesColName(columnName);
	}

}
